package com.wwm.makerandroid.makerandroid.Bean.RespondBean;

import java.util.List;

//1.2首页banner
//https://www.wanandroid.com/banner/json

/**
 * jsonFormat插件自动生成
 * 4个banner数据 data
 */

public class RecordBean2 {

    /*
     {
    "success": true,
    "errorMsg": null,
    "data": [
        {
            "id": null,
            "userNumber": null,
            "name": "梁赁洲",
            "password": null,
            "dept": "计科1905",
            "role": 1,
            "leaveNumber": 0,
            "breakNumber": 0,
            "approvers": null
        },
        {
            "id": null,
            "userNumber": null,
            "name": "刘云熙",
            "password": null,
            "dept": "计科1901",
            "role": 1,
            "leaveNumber": 0,
            "breakNumber": 0,
            "approvers": null
        },
        {
            "id": null,
            "userNumber": null,
            "name": "曹嘉伦",
            "password": null,
            "dept": "计科1905",
            "role": 1,
            "leaveNumber": 0,
            "breakNumber": 0,
            "approvers": null
        }
    ],
    "message": null,
    "total": null
}
     */
    private int errorCode;
    private String errorMsg;
    private List<DataBean> data;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
/*
        {
            "id": null,
            "userNumber": null,
            "name": "梁赁洲",
            "password": null,
            "dept": "计科1905",
            "role": 1,
            "leaveNumber": 0,
            "breakNumber": 0,
            "approvers": null
        },
 */

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDept() {
            return dept;
        }

        public void setDept(String dept) {
            this.dept = dept;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        String name;
        String dept;
        int role;


    }
}

